package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * 碎片时间表
 */
@Entity
@Setter
@Getter
@ToString
public class FootLottery extends BaseEntity implements Serializable {
    @Column(name = "user_id")
    private Long userId;
    @Transient
    private String userName;
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "lottery_date_white", length = 19)
    private Date lotteryDateWhite;
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "lottery_date_green", length = 19)
    private Date lotteryDateGreen;
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "lottery_date_blue", length = 19)
    private Date lotteryDateBlue;
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "lottery_date_purple", length = 19)
    private Date lotteryDatePurple;
    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "lottery_date_orange", length = 19)
    private Date lotteryDateOrange;

}